import java.util.ArrayList;
import java.util.List;
// Instructor类
class Instructor {
    private Department department;
    private List<Subject1> subjects = new ArrayList<>();

    public Instructor(Department department) {
        this.department = department;
    }

    public void addSubject(Subject1 subject) {
        subjects.add(subject);
    }
    // 可根据需求添加其他属性和方法
}
